package com.xlx.openLink.dao;

import com.xlx.openLink.entity.pojo.Alarm;
import com.xlx.openLink.entity.pojo.Port;
import com.xlx.openLink.vo.RequestAlarmList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlarmMapper {
    int deleteByPrimaryKey(String pkGuid);

    int insert(Alarm record);

    int insertSelective(Alarm record);

    Alarm selectByPrimaryKey(String pkGuid);

    int updateByPrimaryKeySelective(Alarm record);

    int updateByPrimaryKey(Alarm record);

    List<Alarm> listByPage(RequestAlarmList requestAlarmList);

    int insertBatch(@Param("list") List<Alarm> list);

    int updateBatch(@Param("list") List<Alarm> list);

    List<Alarm> selectNoSend();

    int allAlarm();

    int dealAlarm();

    int deletAll();

    List<Alarm> selectNoDeal();



}